package com.cts.learninglibrary.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cts.learninglibrary.pojo.Comment;

import java.util.List;

/**
 * @author: kwanghuee
 * @date: 2020/8/18 9:59
 */
public interface CommentService extends IService<Comment> {
    List<Comment> listWithTree(Integer share_id);

    void reply(Comment comment);

    Page<Comment> listWithTreeByPage(Integer pageNo,Integer pageSize, Integer share_id);

    void deleteComment(Integer id);
}
